package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account    string `gorm:"type:varchar(30)"json:"account"`
	Password   string `gorm:"type:varchar(32)"json:"password"`
	Captcha    string `gorm:"type:varchar(6)"json:"Captcha"`
	SmsCaptcha string `gorm:"type:varchar(4)"json:"SmsCaptcha"`
}

type UserLogin struct {
	gorm.Model
	UserId int `gorm:"type:char(11)"json:"UserId"`
}
